using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;

namespace XPStudio.UMS.Model
{
    public class RoleModel
    {
        public RoleModel()
		{}
		#region Model
		private int _roleid;
		private string _rolename;
		private string _roledesc;
        private string _roleadmin;
		private bool _issystem;
		private bool _isuser;
        private ArrayList _allowapp;
        private ArrayList _allowfunction;
        private ArrayList _denyfunction;
        private ArrayList _rolepermit;

		/// <summary>
		/// 
		/// </summary>
		public int RoleID
		{
			set{ _roleid=value;}
			get{return _roleid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string RoleName
		{
			set{ _rolename=value;}
			get{return _rolename;}
		}

        public string RoleAdmin
        {
            set { _roleadmin = value; }
            get { return _roleadmin; }
        }
		/// <summary>
		/// 
		/// </summary>
		public string RoleDesc
		{
			set{ _roledesc=value;}
			get{return _roledesc;}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool IsSystem
		{
			set{ _issystem=value;}
			get{return _issystem;}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool IsUser
		{
			set{ _isuser=value;}
			get{return _isuser;}
		}

        public ArrayList AllowApp
        {
            get { return _allowapp; }
            set { _allowapp = value; }
        }

        public ArrayList AllowFunction
        {
            get { return _allowfunction;}
            set { _allowfunction = value;}
        }

        public ArrayList DenyFunction
        {
            get { return _denyfunction; }
            set { _denyfunction = value; }
        }

        public ArrayList RolePermit
        {
            get {
                
                return _rolepermit;
                
            }
            set {
                _rolepermit = value; }
        }
		#endregion Model

    }
}
